package com.xy.annotaion.handler.runner;

import com.xy.annotaion.handler.annotation.TestLog;
import com.xy.annotaion.handler.common.log.LogService;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * @author Dell
 */
@Component
public class TestApplicationRunnerImpl implements ApplicationRunner, LogService {

    @Override
    @TestLog
    public void run(ApplicationArguments args) throws Exception {
        log(args);
    }
}
